import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "amfe-flexible";
import filters from "./filters";
Vue.config.productionTip = false;

console.log("过滤器", Object.keys(filters));
// 批量添加全局过滤器
for (let item of Object.keys(filters)) {
    Vue.filter(item, filters[item]);
}

// Vue.filter("过滤器名字",处理函数)

new Vue({
    router,
    store,
    render: (h) => h(App)
}).$mount("#app");
